import Base from '@/views/base'
import api from '../../api/message'
export default class BLL extends Base {
  async GetMessage () {
    const res = await api.GetMessage({
      PageIndex: this.vm.Page.PageIndex,
      PageSize: this.vm.Page.PageSize
    })
    if (res) {
      this.vm.dataList = res.Data
      this.vm.Page.Total = res.Total
    }
  }
}